<?php
/*==========================================*/
/* include_db.php                           */
/* ---------------------------------------- */
/* opens all connections to the             */
/* database, this should be included        */
/* at the beginning of include_functions.php*/
/*==========================================*/

// setup db connection
$maint_log_db = array(
	'host'	=> 'localhost',
	'user'	=> 'maint-log',
	'pass'	=> 'maint-log',
	'db'	=> 'maint-log'
);

if(!($dbms_cnx = @mysql_pconnect($maint_log_db['host'],
				$maint_log_db['user'],
				$maint_log_db['pass']))) echo showerror();
if(!mysql_select_db($maint_log_db['db'])) echo showerror();


?>
